package com.web.page;

import com.app.AppContext;
import com.web.annotations.Copy;
import com.web.annotations.PageUrl;
import com.web.imp.AbstractWebPage;

@PageUrl("/index.php")
public class Index extends AbstractWebPage {

	public static final String TITLE = AppContext.getProperty("principal_name");

	@Copy(id = "logout")
	public static String LOGOUT_COPY;

	// @PageElement(id = "dropdown-main-header-menu")
	// private WebLink logOutLink;

	public AdminPanel goToAdminPanel() {

		return browser.open(AdminPanel.class);
	}

	public Login logOutPanel() {

		// logOutLink.click();
		return browser.goTo(Login.class);
	}
}
